import request from '@u/request.js'

// 查询某个软件的详情信息
export function getSoftwareInfo(id) {
  return request({
    url: '/version/api/v2/version/detail/' + id,
    method: 'get'
  })
}

// 获取软件版本更新状态信息
export function getState() {
  return request({
    url: '/core/api/data/getDataList',
    method: 'post',
    data: {
      'parentCode': 'VERSION_UPDATE_STATUS'
    }
  })
}
